package cn.npe.scanbean;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(BeanScannerRegistrar.class)
public @interface BeanScanner {
    String[] value() default {};

    String[] basePackages() default {};

    //这里默认是Annotation 默认是所有注解都加进来
    Class<? extends Annotation> annotationClass() default Annotation.class;
}
